package com.service.impl;

import com.bean.base.DictInfo;
import com.bean.base.DictItemInfo;
import com.bean.other.MetaInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DictService {

    String insertDict(DictInfo dictInfo);

    String updateDict(DictInfo dictInfo);

    String deleteDict(DictInfo dictInfo);

    PageInfo<DictInfo> selectDict(DictInfo dictInfo, MetaInfo metaInfo);


    String insertDictItem(DictItemInfo dictItemInfo);

    String updateDictItem(DictItemInfo dictItemInfo);

    String deleteDictItem(DictItemInfo dictItemInfo);

    PageInfo<DictItemInfo> selectDictItem(DictItemInfo dictItemInfo, MetaInfo metaInfo);

    List<DictItemInfo> selectDictItem(DictItemInfo dictItemInfo);


}
